import { CommonModule } from '@angular/common'
import { NgModule } from '@angular/core'
import { AdResourceModule } from 'monk-design/resource'
import { AdTreeComponent } from './tree.component'
import { AdTreeNodeComponent } from './tree.node.component'
import { AdTreeNodeName } from './tree.node.name.component'
import { AdTreeNodeProvider } from './tree.node.provider'
import { AdTreeNodeSwitcher } from './tree.node.switcher.component'

@NgModule({
  imports: [CommonModule, AdResourceModule],
  declarations: [
    AdTreeComponent,
    AdTreeNodeComponent,
    AdTreeNodeProvider,
    AdTreeNodeSwitcher,
    AdTreeNodeName,
  ],
  exports: [AdTreeComponent],
})
export class AdTreeModule {}
